import '@/style/index.scss'
import '@/style/tailwind.css'

import { createApp } from 'vue'
import { setupStore } from '@/stores'
import { getServerConfig } from '@/config'

import App from './App.vue'
import router from './router'

const app = createApp(App)

// 引入pinia
setupStore(app)

app.use(router)

getServerConfig().then(() => {
  app.mount('#app')
})
